package main

import (
	"github.com/sciter-sdk/go-sciter"
	"github.com/sciter-sdk/go-sciter/window"
	"log"
)

func main() {
	w, err := window.New(sciter.SW_TITLEBAR|
		sciter.SW_RESIZEABLE|
		sciter.SW_CONTROLS|
		sciter.SW_MAIN|
		sciter.SW_ENABLE_DEBUG,
		&sciter.Rect{
			Left:   0,
			Top:    0,
			Right:  500,
			Bottom: 500,
		})
	if err != nil {
		log.Fatal(err)
	}
	w.LoadFile("C:/P/go/src/hchw/demo1.html")
	w.SetTitle("First app")
	w.Show()
	w.Run()
}

//func ConvertToString(src string, srcCode string, destCode string){
//	srcCoder := mahonia.
//
//}
